import service from "../utils/request";

//  列表
export function getComputingSolutionList(params:any) {
  return service.get(`/flavors`, {params});
}
// 增
export function createComputingSolution(data:any) {
  return service.post(`/flavors`, data);
}
// 改
export function editComputingSolution(id:number,data:any) {
  return service.put(`/flavors/${id}`,data);
}
// 删
export function deleteComputingSolution(id:number) {
  return service.delete(`/flavors/${id}`);
}
// 查
export function getComputingSolutionDetail(id:number) {
  return service.get(`/flavors/${id}`);
}